package com.iretailer.report.influxdb.model;

import lombok.Data;

import java.time.ZonedDateTime;

/**
 * @Auther: xjw
 * @Date: 2019/1/23 15:57
 * @Description:
 */
@Data
public class DwellTime {

    private String zoneid;

    private ZonedDateTime time;

    private int numberServed;

    private int secondsOccupied;

    private String group;

    public String getGroup() {
        return String.format("%s_%s", zoneid, time);
    }

}
